Skip to content

fix(approvals): the approval request page names the record it decides on, Approve leads the band, one time face - #36095

Merged
objectstack-fleet[bot] merged 7 commits into
mainfrom
claude/project-thread-lnqibe
Nov 21, 2026
Merged

objectstack-fleet[bot] merged 7 commits into
mainfrom
claude/project-thread-lnqibe

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Sales · project thread

Fixes #35415

repo:objectstack#1 · os-sales · session_01L6bhgW5RH2VUXjRj9dZYH2

Clause-②: yes (widening)
Metadata-protocol: none

The widening: @object-ui/components takes one optional member, RecordHeaderState.title, and exports its type RecordHeaderTitle. Nothing is removed or renamed.

维护者速读

  • 审批请求页的标题从流程名(「费用报告签批」)换成审批人要看的业务记录名(「EXP-2001」),点标题就打开那条记录。只有页面自己读得到那条记录时标题才是链接;无权读、读不到、或平台标记已删除时,标题只显示名字、不能点,和同页「提交时的内容」卡片的规则一致。取不到记录名时仍显示流程名,标题里不会出现裸记录 id。
  • 流程名只在标题下方高亮条的「流程」一格出现一次。卡片第 1 条写了「副标题写流程名」,这里没有加副标题:那一格已经紧贴在标题下方,再加副标题就是卡片抱怨的重复。
  • 审批条里「通过」仍是实心主按钮,「驳回」改为描边加危险色文字,「通过」成为页面上最醒目的按钮。业务记录页上的审批条是同一个组件,也一起变。
  • 审批动态里的时间改成和页头一样的写法(2026/11/21 上午10:09),不再带秒。
  • 列表、搜索、最近访问和面包屑里,审批请求仍按流程名称呼,对象定义不变。只改前端显示,可以整体撤回。

What changes

Card #35415 lists four defects on the approval request page. Read against main fe753492, two still held, one held in part, and one was already fixed:

Card item On main This PR
1. The title is the flow's name; the record cannot be opened from it held the title names the record and links to it
2. "As submitted" truncates text fields fixed by #34588 (the record is drawn whole, values wrap) nothing to do; the screenshots confirm
3. Approve looks weaker than Reject half: Approve was already filled, Reject was filled red Reject becomes a destructive outline
4. Two time formats on one page held the timeline uses the page's one face
  • The page title (RecordDetailView, new approval-decision/approvalSubjectTitle.tsx). On a sys_approval_request page the header names the business record by the record_title the approvals get already serves for it, as a link through the page's own record route (RelatedRecordActionsBridge's recordHref / openRecord, the route the "As submitted" card's "Open record" link takes). A plain click opens the record the way the page opens one, which is the record drawer one level down on a desktop record page; a modifier or middle click keeps the anchor's new-tab behaviour. The name is a link only once one of the page's own reads of the record returned it, the rule the card's link follows (objectui#12557, objectui#11878): SubmittedRecord's current read and RecordPreviewCard's read report what they found through the new RecordReadReportContext (approval-decision/recordReadReport.ts), which RecordDetailView provides on a request page only. The title makes no read of its own. A refused, unresolvable or platform-deleted subject is named as plain text. Where the get serves no record_title, or one equal to the bare record_id, the header keeps the request's own title (process_label), so the page never names its subject by a raw id. That is the guarantee plugin-approvals: the served approval request page's H1 still reads flow:NAME · RECORD_ID — the approvals get serves no display_title, and the title names the raw record id (blocks objectui#12484) #24665 / PR fix(plugin-approvals): an approval request is titled by its flow's label, never the raw record id or the flow's machine name #24708 gave the H1, kept here.
  • RecordHeaderState.title (@object-ui/components). The host hands { text, node? }, and page:header draws node (else text) in its H1 in both faces: in the host's top bar and in its own row (phone, and pages with no bar). Absent, or with an empty text, every title rung the header had is unchanged. It sits beside the state's existing tags, group and stage.
  • No subtitle. The strip directly under the title already names the flow in its Flow chip, so the flow is named once. The card's item 1 asked for the flow as a subtitle. Adding one would put back the duplicate the card's first bullet complains about, so this PR does not add it. This reading is the one the claim (comment 7060828003, scope item 2) records.
  • The decision band (DeclaredActionsBar). In the approver's band (foldDecisions, drawn by the request page's panel and by the business record page's band), a declared danger decision is drawn as an outline button in the destructive text colour. That is the face the record header's group already gives a secondary danger lever (记录页头部压成一行;只有一组按钮,随记录状态换内容(等我审批时是通过、拒绝);审批状态只留一个短标签 #35593), and the two now share one condition (secondaryDanger). Approve keeps the filled primary face. A bar that does not fold keeps the declared filled danger face, and overrides keep their amber face.
  • One time face (ApprovalActionTimeline). Action times render through core's formatDateTime(…, { style: 'compact' }), the face every datetime cell and the strip's updated_at chip draw, in the host's display time zone. They used to be the browser's toLocaleString (seconds, a 24-hour clock under zh-CN). The timeline on a business record page's approvals panel is the same component, so it changes too.
  • plugin-approvals: comments only, in sys-approval-request.object.ts and sys-approval-request.page.ts, saying where the request page now names its record. The object's nameField, highlightFields and the page metadata are unchanged.

Not changed, per the card's "不做的": the structure of the progress and timeline cards.

Why

An approver opens a request to decide on a business record. The page was titled by the process, which the strip repeated, and the record it is about had no name in the header and no link from it. The reject button outweighed approve, and the page wrote one moment in two ways.

Verification

Tests added (each run red with its fix ablated, green with it):

  • approvalSubjectTitle.test.tsx (new): read by the page, the title links through the host route; not read, plain text; a host that routes nowhere, plain text; a plain click is the host's openRecord, a modifier click the browser's; no title or an id-only title keeps the page's own. Ablating the read gate reds the not-read case.
  • Served request page (console, real adapter stack): servedPageRecordLink-12557 gains an H1 case (the H1 reads the subject and its plain click opens the same drawer, the page stays put) and the readable case now counts the card's link and the H1's; its refused CONTROL also checks the H1 is plain INV-2020. servedPageReferenceStates-12489: readable names and links the H1; deleted names it as plain INV-3030. ApprovalsInboxPage.opensServedPage-12484: the served page is recognised by the subject's title in its H1. Ablating the read gate reds the refused CONTROL; ablating the report provider reds the two H1-link cases.
  • RecordDetailView.harness.test.tsx, block RecordDetailView.approvalSubjectTitle-35415 (real RecordDetailView, real page:header, desktop top bar): the H1 reads the served subject title, and with no reader of the subject on that page it links nowhere and reads nothing; no record_title keeps the flow label with no link; a record_title equal to the record id keeps the flow label and never prints the id; CONTROL: another object with the same fields keeps its own title. Ablating the host wiring reds the subject case only.
  • page-header-record-bar-35593.test.tsx, block the record state's title (objectstack#35415): the host's node is drawn inside the H1 in the bar and in the row; text-only; CONTROL: an empty title leaves the record's own name. Ablating the renderer reds the three host cases.
  • DeclaredActionsBar.approverFold-34361.test.tsx, block …leads with a filled Approve, Reject outlined (objectstack#35415): Approve bg-primary, Reject outline with text-destructive and no bg-destructive; CONTROL: a bar that does not fold keeps bg-destructive.
  • RecordApprovalsPanel.displayLocale-9909.test.tsx: the de-DE and en pins now read the compact face (4.3.2020 3:30 pm, 3/4/2020 3:30 pm), and a new zh-CN pin equals formatDateTime(…, { style: 'compact' }) with no seconds. The three "is a reading of the session" pins are unchanged and green.

Local runs on this head (88775b7e, main 493ad095 merged in, so #35983's two-row record header is in):

Browser (showcase objectstack dev --seed-admin --fresh, console vite, zh-CN, the seeded pending request on EXP-2001, opened as its approver through /system/approvals?request=), before and after at 1280 and 375, light and dark, in the project thread's evidence folder:

  • before: H1 费用报告签批, no link; Reject bg-destructive; timeline 2026/11/21 10:09:5x.
  • after (shot on a02cb373, where the subject reads, so the gate added since draws the same page; with feat(record-page): two-row record header — navigation over the record, up to three actions #35983's two-row header: the crumb row reads 审批请求, the title row reads the record): H1 EXP-2001, linked to /apps/com.example.showcase/showcase_expense_report/record/…; a click opens EXP-2001 in the record drawer; Approve filled, Reject outlined; timeline 2026/11/21 下午1:37, the same face as the strip's 更新时间 chip.

Acceptance notes

  • Read first, by risk: ui/packages/components/src/renderers/layout/containers.tsx (hostTitle / chipTitle, both faces), ui/packages/app-shell/src/views/approval-decision/approvalSubjectTitle.tsx and recordReadReport.ts (the link's read gate), ui/packages/app-shell/src/views/DeclaredActionsBar.tsx (secondaryDanger).
  • Two-minute check: open a pending approval from the approvals inbox. The top bar reads the record's name, not the flow's. Click it and the record opens. In the band, 通过 is filled and 驳回 is outlined in red. The 审批动态 time reads like the strip's 更新时间.
  • The subject link follows the page's record route, so it exists exactly where the "As submitted" card's "Open record" link does: a subject object the console can route to. Where it cannot, the title is the record's name as plain text.
  • Breadcrumb, recent items and favourites still name a request by its own title (the flow), as lists and search do. Only the request page's header names the subject.
  • Observed, not changed: at 375 px the strip's 更新时间 value is cut (上午10:…) in a half-width cell. That is the strip's layout, outside this card.

Human Minimum

  • 1. Schemas start as Zod; packages/spec holds no runtime logic.
  • 2. Every name I added uses the casing for its kind.
  • 3. No formatter ran; pnpm lint passes.
  • 4. One issue, one branch off an up-to-date main, one pull request.
  • 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset.
  • 6. packages/spec touched: its generated artifacts are regenerated and committed. (Not touched.)
  • 7. No hand edits to content/docs/references/, packages/*/CHANGELOG.md or content/docs/releases/.
  • 8. Title, body and comments are in English.
  • The Before Submitting list in CONTRIBUTING.md is done.

🤖 Generated with Claude Code

https://claude.ai/code/session_01L6bhgW5RH2VUXjRj9dZYH2

@github-actions github-actions Bot added documentation Improvements or additions to documentation tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 21, 2026
@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

1 anchor(s) derived from 1 changed package(s); no hand-written page names any of them, so this run has nothing to list — not a clean bill of health. This check sees only pages that NAME a derived anchor: one that documents this change in prose, or enumerates it in an authoring dialect, names none and stays invisible to it on every run.

What this run could not see

Coarse fallback — 6 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json 493ad095d40ece94fe25d822566138fd01f5d4c3 → packageMentionDocs.

Which tree this was computed on

This run read content/docs from 9316e03950f749d075b6ed1659492ae1919a6eaa — the merge of head 88775b7e5bcf30d1177ec6e94f51e8f121c5ad20 into base 493ad095d40ece94fe25d822566138fd01f5d4c3, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 9316e03950f749d075b6ed1659492ae1919a6eaa && git checkout 9316e03950f749d075b6ed1659492ae1919a6eaa
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 493ad095d40ece94fe25d822566138fd01f5d4c3 88775b7e5bcf30d1177ec6e94f51e8f121c5ad20 && git checkout -B drift-repro 493ad095d40ece94fe25d822566138fd01f5d4c3 && git merge --no-ff 88775b7e5bcf30d1177ec6e94f51e8f121c5ad20

node scripts/docs-audit/affected-docs.mjs --json 493ad095d40ece94fe25d822566138fd01f5d4c3

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

…the page read it

The approval request page's title named the subject record and linked to it
whatever the page's own read of that record answered, so a refused (403) or
platform-deleted subject still drew a link in the H1 while the record card on
the same page drew none (objectui#11878, objectui#12489, objectui#12557 pins).

The title now links only once one of the page's reads returned the record:
`SubmittedRecord`'s current read and `RecordPreviewCard`'s read report what
they found through `RecordReadReportContext`, which `RecordDetailView`
provides on an approval request's page only. The title makes no read itself.
A refused, unresolvable or deleted subject is named as plain text.

The served-page pins that read the H1 as the flow label, or counted one link
to the subject on the page, now read the subject's title and count the card's
link and the H1's; the refused and deleted pins also check the H1 is plain.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L6bhgW5RH2VUXjRj9dZYH2
@github-actions github-actions Bot added size/l and removed size/m labels Nov 21, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

Posted 2026-11-21T14:32Z. The brief handed to the isolated declaration-face reviewer for PR #36095 (owed by the PR body's Clause-②: yes (widening) line; card #35415). The record follows as its own comment.

Contract review brief — PR #36095 @ 88775b7e5bcf30d1177ec6e94f51e8f121c5ad20 (card #35415)

You review at TIER_DEFAULT. Render ONE ## Contract review record on this head — its shape is
node scripts/pm/record-recognisers.mjs --template --face declaration — with a PASS or FAIL verdict, and post it as ONE comment
on the PR or its card.

Inputs — these and nothing else:
· card #35415: its body and EVERY comment (rulings and earlier records included)
· also epic #34571 (body only) and the merged #35983 the PR builds on: bodies only, for context
· PR #36095: its body, its file list, and the net diff against main at 88775b7e5bcf30d1177ec6e94f51e8f121c5ad20
· the check-runs on 88775b7e5bcf30d1177ec6e94f51e8f121c5ad20: their conclusions ARE the gate verdicts
⛔ Not the dispatch order, ⛔ not the dispatching seat's own conclusions — this brief is adversarial by design.

⛔ READ-ONLY. No worktree, no checkout, no build, no test run, no gate re-run, no ablation: the check-runs
on the head already answered every derived gate family, and a local run costs more than it returns.
If ONE probe is unavoidable, the record's Local-runs: line says probe — REASON; otherwise none.
Scratch space is /tmp/claude-0/-home-user/3d3cbaf6-4903-5fed-92d4-c2b94a45e868/scratchpad/pr-36095/ alone; nothing there you did not write this round is read.

Judge, in the record's own sections:
① Derived judgments — every accept-set and public-surface change the diff implies, each named right or wrong.
② Semver level — the changeset (or skip-changeset) matches what the diff publishes, and the Clause-②: line.
③ Boundary flags — every dev flag and every open_questions entry answered, or escalated.
On every face, SQL push-down: a new id materialisation or in-app join where SQL could push down is a
finding unless a reason is given (AGENTS.md, Prime Directive 5: SQL first).
Sign Implemented-by: with the dev's branch and Reviewed-by: with your session id — the value is the FIRST
thing after each colon.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgTcFanGhTvqS1V2Q4U

席位核对 — ACCEPT (L1-a)

维护者速读

审批请求页这次改了三处:

  • 大标题从流程名换成审批人要看的业务记录名。审批人读得到这条记录时,标题可以点,点了打开记录;读不到、或记录已删除时,标题只显示名字,不能点。取不到记录名时仍显示流程名,标题里不会出现一串裸 id。
  • 审批按钮:「通过」是实心按钮,「驳回」改为红字描边。现在「通过」是这一排里最醒目的按钮。
  • 审批动态的时间改成和页头一样的写法,不带秒。

我核过以下几点:

  • 「能不能点」是看页面已经做过的读取结果来定的,标题自己不额外读数据。和同页「提交时的内容」卡片的规则一致。
  • 第一次 CI 抓到一个真问题:标题给读不到的记录也加了链接。这已经修好,并有测试钉住。
  • 列表、搜索、面包屑里,审批请求仍按流程名称呼。
  • 卡上第 2 条(截断)在主干上早已修好。
  • 卡上「副标题写流程名」这一条没做:流程名紧贴在标题下方已经显示一次,再加副标题就重复了。这是开工前认领时定下的读法。

没有需要修的问题,不属于受管面。因为对外新增了一个可选字段,座位还要在同一版本上跑一次 L2,本记录不替代它。

Head reviewed: 88775b7e5bcf30d1177ec6e94f51e8f121c5ad20, main 493ad095 merged in. Seven commits, 21 files, +612/−42. git merge-tree onto current main is clean. check-governed-merges --pr 36095 (PR-head register) reads NOT governed, 0 of 21 paths. reviewFace with Clause-②: yes (widening) gives face declaration → TIER_DEFAULT, so a declaration L2 on this head is owed by the seat. CI is as the thread reported. vitest was not run here (no node_modules).

What holds

  • page:header (containers.tsx).
    • hostTitle is taken only when headerState.title.text trims non-empty. chipTitle / chipTitleNode then replace resolvedTitle / declaredFace in both faces, the top-bar portal and the own row. With no host title, both arguments are the old values exactly.
    • RecordTitleChip draws titleNode ?? title inside its <h1>, so a text-only host title draws its text, and the link is the H1's only interactive child.
  • The read gate.
  • State shape. readRecords is keyed object::id, last report wins, and an equal report is a no-op. recordHeaderState is built every render, not memoised, so the title follows the reports without a stale dependency list. A queue advance to another request reads under a different key.
  • Plain vs modifier click. A plain left click calls the host's openRecord, the same drawer the card's "Open record" opens. Modifier and middle clicks fall through to the anchor.
  • Band (DeclaredActionsBar).
    • secondaryDanger = danger && (headerTone === 'secondary' || outlineDanger). It reproduces the old header-group condition exactly, so that face is unchanged.
    • The new outlineDanger is passed only to the folded decision row (foldDecisions), so a non-folding bar keeps bg-destructive, which is the CONTROL. The override amber face still wins, through isOverride.
  • Timeline. formatDateTime(s, { locale, style: 'compact' }) renders in the display zone (date-display.ts zoneFor), with a fallback to the raw string on '—'. The 9909 locale pins move to the compact face and keep their "reading of the session" assertions.
  • plugin-approvals. Only comments change in the object and page files. nameField, highlightFields and the page metadata are untouched. The patch is for the comment-only touch.
  • Clause-② yes (widening) is right. RecordHeaderState gains an optional title, and RecordHeaderTitle is a new exported type. Nothing is removed or retyped.
  • Card mapping.

Observation (no change asked)

  • The H1 still names a subject the reader may not read, as plain text. That is the record_title the approvals get already serves on this page (the "As submitted" card names it too). Whether it is served is the server's verdict and is not changed here.

Landing terms

  • Not governed. After the seat's declaration L2 on this head, it lands through the ordinary queue. Fixes #35415 closes the card on merge.
  • A new push needs a delta L1 unless it is a clean main merge.
  • This review does not approve, mark ready, enqueue or request review.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

Contract review

Served-tier: TIER_DEFAULT
Head-sha: 88775b7e5bcf30d1177ec6e94f51e8f121c5ad20
Local-runs: none

Inputs read: card #35415 (body, triage 7004294600, claim 7060828003), epic #34571 and merged #35983 (bodies), the PR #36095 body and file list (21 files), the net diff against its merge base with main (493ad095), and the check-runs on this head. Every check-run that ran concluded success: Build Core / UI, Type Check (workspace, source, consumer, debt ledger, UI), Test Core 10/10, Test UI 16/16, Live E2E UI, Build & E2E UI, Lint (ESLint, repo, docs, PM dispatch, CI/release, scoped), Check Changeset, PR-body guards, Governed Surface Queue Guard, Dogfood Regression Gate and PR Size. The rest are opt-in or path-skipped. None failed.

① Derived judgments

The changes to the public surface and the accept set that the diff implies, each judged:

  1. @object-ui/components: RecordHeaderState.title?: RecordHeaderTitle and the exported type RecordHeaderTitle { text: string; node?: ReactNode }. Right. This is an optional member on a host-provided context state, plus one new type export in index.ts. Nothing is removed, renamed or made required. A host that omits title gets the same value it got before, because chipTitle / chipTitleNode fall back to resolvedTitle / declaredFace. An empty or whitespace text also falls back, through the hostTitle guard. resolvedTitle is read only by the two RecordTitleChip sites (top-bar portal and own row), and both now take the host value. No third title face is left behind. The JSDoc says the host title wins over every rung, an authored title included. That holds in the code, and it is a host-only channel: no metadata author can reach it.
  2. @object-ui/app-shell: new module-internal RecordReadReportContext / useReportRecordRead / recordReadKey and approvalSubjectTitle. Right, and not public. None of them is exported from the package entry. Without a provider, every page other than sys_approval_request gets null, and reporting does nothing. So SubmittedRecord and RecordPreviewCard keep the behaviour they have everywhere else, and the only change there is a no-op effect. The link gate follows the page's existing read rule (objectui#12557, fix(mcp): arm the stdio localization memo by the settings bind, not by the first read #11878). Only a settled readable read yields an href. loading, unreadable, deleted (never read) and a host with no recordHref all draw plain text. Where record_title is absent, blank, or equal to record_id, the result is undefined, so the fix(plugin-approvals): an approval request is titled by its flow's label, never the raw record id or the flow's machine name #24708 guarantee (no bare id in the H1) holds.
  3. DeclaredActionButton.outlineDanger (internal prop, not exported). Right. A declared danger decision in the approver fold (DeclaredActionsToolbar fold branch only) now draws as outline + text-destructive. That is the same condition the header group's secondary danger already used, now factored as secondaryDanger. Overrides keep the amber outline, because isOverride is checked first in both the variant and the class. A bar that does not fold keeps the filled destructive face. This is a visual change in the band on the request page and on the business record page, and the PR and changeset both state it. No action declaration is read differently.
  4. ApprovalActionTimeline time face. Right. The timeline now uses formatDateTime(s, { locale, style: 'compact' }) instead of new Date(s).toLocaleString(locale). The locale channel is unchanged: it is still required, from useDisplayLocale(). The zone moves from the browser's to the host's declared display zone, which is what core's module does on every face. The date face is the one the strip's chips already draw, so this makes the page consistent. An unparseable value now shows its raw string, where it used to show Invalid Date, which is an improvement. @object-ui/core is already a workspace:* dependency of app-shell, so the import adds no dependency.
  5. @objectstack/plugin-approvals: comment-only hunks in sys-approval-request.object.ts and .page.ts. Right. Every changed line is a // comment. nameField: 'process_label', highlightFields and the page metadata are byte-for-byte unchanged, so lists, search, recents and breadcrumbs still name a request by its flow, as the PR says. The comments describe the console code in this same diff accurately.
  6. Accept set: unchanged. Right. Nothing in packages/spec is touched, and no metadata key, accepted value or type is added, refused or given new meaning. The record_title field the title reads is one the approvals get already served. This PR adds no server field.
  7. Tests and console files (ui/apps/console/** test files only, plus app-shell and components tests) publish nothing.

② Semver level

  • Changeset .changeset/35415-approval-request-names-its-record.md: @object-ui/components patch, @object-ui/app-shell patch, @objectstack/plugin-approvals patch. Under AGENTS.md (Post-Task Checklist 3), a non-protocol change, widening included, ships patch. Metadata-protocol: none is correct (see ① 6), so patch is the right level for every package the diff moves. It matches the feat(record-page): two-row record header — navigation over the record, up to three actions #35983 precedent for optional members on @object-ui/components. The plugin-approvals entry covers a comment-only change. That is harmless and arguably more than needed, but it is not wrong. No published package the diff moves is missing: @object-ui/core and @object-ui/console have no shipped change, only test files under the console.
  • Clause-②: the line is Clause-②: yes (widening) in both the PR body and the changeset body, line-initial, with Metadata-protocol: none beside it. Right. The only surface delta is an added optional member and an added type export (① 1). Nothing is narrowed, so there is no BREAKING banner, no migration and no ADR-0087 marker owed. Check Changeset is green on this head.

③ Boundary flags

The PR body has no open_questions entry. Each dev flag, answered:

  • No subtitle, though card item 1 asks for one ("副标题写流程名"). Answered: accepted. The card's 验收 line requires the record's name as the title, a click on it that opens the record, and Approve as the most prominent button. It does not require a subtitle. The complaint in the card's 现状 is that the flow's name appears twice. With the flow named once, in the strip's Flow chip right under the title, the card's intent is met. The deviation is disclosed in three places: the PR's 维护者速读 (in the maintainer's language), the What-changes list, and the claim's scope item 2 (7060828003). If the maintainer still wants the subtitle literally, that is a one-line follow-up. It is not a defect in this diff.
  • Card item 2 (truncation) already fixed by 审批请求页:直接显示完整的业务记录,不止「提交时的内容」里的 6 个字段 #34588. Answered: nothing is owed in this diff. The PR cites screenshot evidence, and the claim's premise read on fe753492 records the same.
  • Card item 3, half held (Approve was already filled). Answered: the diff changes only Reject, which is consistent with that premise.
  • At 375 px the strip's 更新时间 value is cut. Answered: outside this card's scope, as the PR says (the strip's layout, and the card's 不做的 keeps the cards' structure). It does not block, but it is worth its own card if the seat wants it tracked.
  • Branch name claude/project-thread-lnqibe instead of the claude/issue-NNNN-slug form. Answered: declared in the claim as the measured card-thread platform exception. The PR-body guards are green.
  • Serial against feat(record-page): two-row record header — navigation over the record, up to three actions #35983. Answered: feat(record-page): two-row record header — navigation over the record, up to three actions #35983 is merged, and the merge base 493ad095 contains it. The H1 wiring targets the two-row header's title slot and own row, and those are the two RecordTitleChip sites changed.
  • Visibility of the subject's name to an approver who cannot read the record. Checked, not a finding. The H1 shows record_title as plain text only where the approvals get already serves it to that reader. That is the server's decision, and this diff does not change it. The link stays gated on the page's own read.
  • SQL push-down (Prime Directive 5). No finding. The title reuses the record_title the approvals get already resolves on the server, and it makes no read of its own. The read-report map is a cache of outcomes from reads the page already makes. It holds object::id keyed to a boolean, and it is not an in-app join or a new id materialisation. The diff adds no new query, $in fetch or client-side join.

Implemented-by: claude/project-thread-lnqibe
Reviewed-by: session_01L6bhgUkbQqRUUFSiu2HGob (isolated L2 sub-agent of the seat)

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

Seat landing · 2026-11-21T14:37Z · #35415 the approval request page (epic #34571, b1-CX segment 4). The page's title names the record it decides on, and is a link only after the page's own read returned that record (a refused or deleted record keeps a plain title, per #11878 / #12489 / #12557); Approve leads the approver's band with Reject as a danger outline; one compact time format in the host's time zone. Card item 1's flow-name subtitle is not added, as the claim 7060828003 said: the flow is named once in the strip under the title; a literal subtitle is a small follow-up if the maintainer wants it. Seat declaration L2 PASS 7064222154 on 88775b7e (this head). L1-a ACCEPT 7064185666 on this head. Clause-②: yes (widening) (RecordHeaderState.title, RecordHeaderTitle), Metadata-protocol: none, patch. check-governed-merges --pr 36095 reads NOT governed (+612/−42). The seat read K by hand: 11 first-parent commits since the merge base, under 15, no translations/ or skills/ paths on either side. On this head 60 check-runs are success, 12 skipped, none failed; mergeable clean. The seat readies this PR and arms auto-merge in the same step. The PR carries Fixes #35415.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 21, 2026 14:37
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 21, 2026
Merged via the queue into main with commit cda16d4 Nov 21, 2026
73 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/project-thread-lnqibe branch November 21, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/l tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

审批请求页:标题是流程名而不是业务记录名,记录名被截断,没有入口打开原记录

2 participants